package org.edu.modules.stu.bxxl.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.edu.common.base.BaseEntity;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;

/**
 * entity-保险理赔咨询表
 */
@TableName("ve_stu_insurance_ask")
@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="保险理赔咨询表对象", description="ve_stu_insurance_ask")
public class VeStuInsuranceAsk extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField
    @ApiModelProperty(value = "姓名")
    @Length(max = 30)
        private String name;

    @TableField
    @ApiModelProperty(value = "学号")
    @Length(max = 30)
        private String code;

    @TableField
    @ApiModelProperty(value = "用户Id")
    @Length(max = 32)
        private String userId;

    @TableField
    @ApiModelProperty(value = "")
    @Length(max = 255)
        private String userName;

    @TableField
    @ApiModelProperty(value = "标题")
    @Length(max = 100)
        private String title;

    @TableField
    @ApiModelProperty(value = "是否删除（0：否，1：是）")
        private Integer isDelete;

    @TableField
    @ApiModelProperty(value = "问题内容")
    @Length(max = 65535)
        private String content;
}
